From: Philipp Zabel Date: Fri, 22 Apr 2016 08:40:11 +0000 (+0200) Subject: ASoC: hdmi-codec: Add ELD control X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~10^2~2187^2~7^2^2~10 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=db71336b9eec22c21cef65c90cea49130c464994;p=linux-4.9.git ASoC: hdmi-codec: Add ELD control Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/hdmi-codec.c b/sound/soc/codecs/hdmi-codec.c index c78333b4311d..8e36e883e453 100644 --- a/sound/soc/codecs/hdmi-codec.c +++ b/sound/soc/codecs/hdmi-codec.c @@ -65,9 +65,7 @@ static int hdmi_eld_ctl_get(struct snd_kcontrol *kcontrol, struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); struct hdmi_codec_priv *hcp = snd_soc_component_get_drvdata(component); - mutex_lock(&hcp->eld_lock); memcpy(ucontrol->value.bytes.data, hcp->eld, sizeof(hcp->eld)); - mutex_unlock(&hcp->eld_lock); return 0; }